<div align="center">
<?php if($medio->getOpcion() == 'youtube'):?>
    <div align="center">
        <object width="225" height="25">
            <param name="movie" value="<?php echo $medio->getURL()?>"></param>
            <param name="allowFullScreen" value="true"></param>
            <param name="allowscriptaccess" value="always"></param>
            <embed src="<?php echo $medio->getURL()?>" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="225" height="25"/>
            <noembed>
                <a href="<?php echo $medio->getURL()?>"><img src="http://www.gtaero.net/ytmusic/play.png" alt="Play" style="border:0px;" /></a>
            </noembed>
        </object>
    </div>
<?php elseif ($medio->getOpcion()=='codigo'):?>
    <?php
        echo html_entity_decode($medio->getCodigo());
    ?>
<?php else:?>
    <audio src="../../../uploads/sonidos/<?php echo $medio->getFuente()?>" controls="controls">
    </audio>
<?php endif; ?>
<p class="cita"><?php echo $medio->getPie() ?></p> 
</div>